package main.java.com.gdkj.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description  
 * @Author  zhangwen
 * @Date 2023-03-01 
 */

@Data
@Table(name = "cmf_rich_man_change_rule")
public class CmfRichManChangeRule  implements Serializable {

	private static final long serialVersionUID =  5729469633270281102L;

    @Id
	private Integer id;

    @ApiModelProperty(value = "排序")
	private Integer orderBy;

	@ApiModelProperty(value = "类型（0免费1 常规）")
	private Integer type;

	@ApiModelProperty(value = "状态（1开启 0关闭）")
	private Integer status;

	@ApiModelProperty(value = "图片地址")
	private String img;

	@ApiModelProperty(value = "金币价格")
	private BigDecimal coinNum;

	@ApiModelProperty(value = "钻石数量")
	private BigDecimal diamondNum;

	@ApiModelProperty(value = "发布时间")
	private Date createTime;

	@ApiModelProperty(value = "免费是否有效")
	@Transient
	private Integer freeCanUse;

}
